POV-Ray : Newsgroups : povray.general : Procedural default human skin normal & finish in English? : Re: Procedural default human skin normal & finish in English? Server Time
6 Aug 2024 14:22:18 EDT (-0400)
  Re: Procedural default human skin normal & finish in English?  
From: Anto Matkovic
Date: 28 Feb 2002 17:33:00
Message: <3c7eb01c@news.povray.org>
Ooops, correct is:
#declare hair_tex_aniso =

  texture{

ent{  
     shader{
       shader_file "aniso.slp"
      "xroughness" 0.1
      "yroughness" 0.7
       "brush_direction" <0,0.5,0>
       "Kd" 1 
       "Ka" 1  
       "Ks" 1.4
       "Cs" hair_color
}}
finish{ambient 0.2 diffuse 0.32}
normal {bozo 0.2 scale hair_scale}
}

#declare hair_tex_standard =
texture{
    pigment{
      hair_color}
finish{ambient 0.2 diffuse 0.6 specular 0.4 roughness 1/100 metallic 1}

}
#declare hair_texture = texture { bozo scale hair_scale
texture_map {[0 hair_tex_aniso]
             [0.3 hair_tex_aniso]
             [0.6 hair_tex_standard]
             [1 hair_tex_standard]}warp { reset_children}}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.